projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c1ca3
)
(getwd) [!HAVE_GETWD]: Unblock input before returning.
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 5 Apr 2001 14:59:37 +0000
(14:59 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 5 Apr 2001 14:59:37 +0000
(14:59 +0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index e3a1821a8b3fb37c2a922f2ca751539c655a43c5..1be3c62c1daaaf413a618d97b00d0e3b4b15f0c7 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-3349,7
+3349,10
@@
getwd (pathname)
BLOCK_INPUT; /* getcwd uses malloc */
spath = npath = getcwd ((char *) 0, MAXPATHLEN);
if (spath == 0)
- return spath;
+ {
+ UNBLOCK_INPUT;
+ return spath;
+ }
/* On Altos 3068, getcwd can return @hostname/dir, so discard
up to first slash. Should be harmless on other systems. */
while (*npath && *npath != '/')